﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;

namespace DATA
{
    
    public class Conexion
    {
        public String obtenerConexion()
        {
            String conexion = "server=.;initial catalog=restaurant;Integrated Security = True";
            //String conexion = "server=.;initial catalog=CALIDAD;user id = sa; password = fernando";
            return conexion;
        }
    }
}
   /* public class Conexion
    {
        static string cadenaConexion = "Data Source=.;Initial Catalog=restaurant1;Integrated Security=True";
        static SqlConnection con = new SqlConnection();

        public static SqlConnection conectar()
        {
            con.ConnectionString = cadenaConexion;
            return con;
        }
    }
}*/
